package com.crm.dao.mapper.sys.permissionManagement;

import com.crm.model.entity.sys.permissionManagement.SysCompanyPermission;
import com.crm.model.entity.sys.permissionManagement.SysCompanyPermissionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysCompanyPermissionMapper {
    long countByExample(SysCompanyPermissionExample example);

    int deleteByExample(SysCompanyPermissionExample example);

    int deleteByPrimaryKey(String companyPermissionId);

    int insert(SysCompanyPermission record);

    int insertSelective(SysCompanyPermission record);

    List<SysCompanyPermission> selectByExample(SysCompanyPermissionExample example);

    SysCompanyPermission selectByPrimaryKey(String companyPermissionId);

    int updateByExampleSelective(@Param("record") SysCompanyPermission record, @Param("example") SysCompanyPermissionExample example);

    int updateByExample(@Param("record") SysCompanyPermission record, @Param("example") SysCompanyPermissionExample example);

    int updateByPrimaryKeySelective(SysCompanyPermission record);

    int updateByPrimaryKey(SysCompanyPermission record);
}